package javabase.schoolwork.day5_28;

/**
 * @author fance
 * @date 2018/5/29 9:44
 */
public class ManKind {
    public int sex;
    public int salary;


    public void manOrWoman() {
        if (this.sex == 1) {
            System.out.println("man");
        }
        if (this.sex == 0) {
            System.out.println("women");
        }
    }

    public void employeed() {
        if (this.salary == 0) {
            System.out.println("no job");
        } else {
            System.out.println("job");
        }

    }




}
